package com.x.provider.general.model.domain.cms;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.x.core.domain.BaseEntity;
import lombok.*;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("cms_content")
public class Content extends BaseEntity {

    @TableId
    private Long id;
    private Integer itemType;
    private Long customerId;
    private String title;
    @TableField("is_reviewed")
    private Boolean reviewed;
    private Integer status;
    @TableField("is_top")
    private Boolean top;
    private Long topValue;
    private String topicIds;
    private String titleJson;
    @TableField("is_deleted")
    private Boolean deleted;
    private String coverFileId;
}
